package com.gientech.produce.config;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
/**
 * @Description: 连接RocketMQ服务器实体
 * @author yihao.long
 * @date 2024-04-02 AM:11:30
 */
@Data
@Configuration
@RefreshScope
public class Jms {

    /**
     * 配置中心读取 服务器地址
     */
    @Value("${rocket_name_server}")
    private String nameServer;

    /**
     * 配置中心读取 主题
     */
    @Value("${order_topic}")
    private String orderTopic;

}
